package com.jsftoolkit.utils.xmlpull;

/**
 * Indicates an element attribute should be output.
 * 
 * @author noah
 */
public class AttributeEvent implements PullEvent {
	public static final int TYPE = 2;

	private final transient String name;

	private final transient String value;

	public AttributeEvent(final String name, final String value) {
		super();
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public String getValue() {
		return value;
	}

	public short getType() {
		return TYPE;
	}

}
